<title> <% @title = "注册页面"%></title>
<div class="container">

  <div class="row" id="pwd-container">
    <div class="col-md-4"></div>

    <div class="col-md-4">
      <section class="login-form">
        <%= form_tag sales_register_path, method: 'POST', class: 'form-signin', role: "login" do  %>
          <input type="hidden" name="store_id" value="<%= @store_id %>">
          <input type="text" class="form-control" name="name" placeholder="姓名" required="" />
          <input type="text" class="form-control" name="company_name" placeholder="公司名称" required="" />
          <input type="text" class="form-control" name="phone_number" placeholder="公司电话" required="" />
          <input type="text" class="form-control" name="company_address" placeholder="公司地址，用于发货" required="" />
          <input type="text" class="form-control" name="login_name" placeholder="登录名" required="" />
          <input type="password" class="form-control" name="password" placeholder="密码" required="" />
          <input type="password" class="form-control" name="password_confirmation" placeholder="确认密码" required="" />

          <div>
            <p class="help-block error-message" style="color: red;"> <%= notice %></p>
            <!-- <a href="#">Create account</a> or <a href="#">reset password</a> -->
          </div>

          <button type="submit" name="go" class="btn btn-lg btn-primary btn-block">注册</button>
          已有账号？ <a href="/sales/session/new?store_id=<%= @store_id %>">去登陆</a>
        <% end %>
        <!-- </form> -->
      </section>
      </div>

      <div class="col-md-4"></div>


  </div>
